<?php


namespace app\common\validate;


use think\Validate;

class Dish extends Validate
{
    //全局验证规则
    protected $rule = [
        'dish_images|图片' => 'require',
        'dish_cate|所属栏目' => 'require',
        'dish_name|菜名' => 'require',
        'dish_nprice|现价' => 'require',
        'dish_num|数量' => 'require'
    ];
}






